﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
<!--    <meta http-equiv="Expires" content="0">-->
<!--    <meta http-equiv="Pragma" content="no-cache">-->
<!--    <meta http-equiv="Cache-control" content="no-cache">-->
<!--    <meta http-equiv="Cache" content="no-cache">-->
    <title>NZ-Window</title>
    <script src="../../tanchuan/js/jquery-2.0.0.min.js"></script>
    <link href="../../tanchuan/css/displaystyle.css" rel="stylesheet" />
    <script src="../../tanchuan/js/syntaxhighlighter_3.0.83/shCore.js"></script>
    <script src="../../tanchuan/js/syntaxhighlighter_3.0.83/shBrushJScript.js"></script>
    <link href="../../tanchuan/js/syntaxhighlighter_3.0.83/styles/shCoreRDark.css" rel="stylesheet" />
    <script src="../../tanchuan/js/NZ-Plugin/Js/NZ-Window.min.js"></script>
    <link href="../../tanchuan/js/NZ-Plugin/Css/NZ-Window.min.css" rel="stylesheet" />
    <script src="../../tanchuan/js/NZ-Plugin/Js/NZ-Drag.min.js"></script>
    <script>
        $(function() {
            SyntaxHighlighter.all();
            $("#btn2").click(function() {
                $.NZ_Window.show({
                    url: "http://www.baidu.com",
                    width: 1500,
                    height: 1000,
                    // operate: {
                    //     btn_Close: true, //关闭按钮
                    //     btn_Max: true, //最大化按钮
                    //     btn_Refresh: true, //刷新按钮
                    //     btn_NewWindow: true, //新窗口按钮
                    //     resize: true //调整窗口大小按钮
                    // }
                });
            });
        });
    </script>
</head>

<body>
                    <button class="button" id="btn2">打开一个窗口</button>
</body>

</html>